<?php

/*
|--------------------------------------------------------------------------
| Web Routes
|--------------------------------------------------------------------------
|
| Here is where you can register web routes for your application. These
| routes are loaded by the RouteServiceProvider within a group which
| contains the "web" middleware group. Now create something great!
|
*/


$routes_suffix = env('ROUTES_SUFFIX','.html');
// 管理端路由
Route::get('login'.$routes_suffix,'LoginController@index')->name('admin.login'); // 登陆页面
Route::post('on_login'.$routes_suffix,'LoginController@checkLogin')->name('admin.on_login'); // 登陆验证

